package org.noear.solon.idea.plugin.suggestion.completion;

import com.intellij.codeInsight.completion.CompletionContributor;
import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.lang.properties.PropertiesLanguage;
import com.intellij.patterns.PlatformPatterns;

public class PropertiesCompletionContributor extends CompletionContributor {

    public PropertiesCompletionContributor() {
        extend(
                CompletionType.BASIC,
                PlatformPatterns.psiElement().withLanguage(PropertiesLanguage.INSTANCE),
                new PropertiesCompletionProvider()
        );
    }
}
